package com.ruyuan.commodity.exception;

import org.springframework.http.HttpStatus;

/**
 * 资源找不到异常
 */
public class ResourceNotFoundException extends ServiceException {


    private static final long serialVersionUID = -6945068834935110333L;


    public ResourceNotFoundException(String message) {
        super(ErrorMsgEnums.RESOURCE_NOT_FOUND.getCode(), message);
        this.statusCode = HttpStatus.NOT_FOUND;

    }
}
